import React, { Component } from 'react'
import { Context } from '../../Context'

export default class B extends Component {
  render () {
    return (
      <Context.Consumer>
        {(value) =>
        <div>
          B:{value.age}
        </div>}
      </Context.Consumer>
    )
  }
}
